package com.yk.course.domain;

import com.yk.common.core.domain.BaseEntity;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.yk.common.annotation.Excel;

/**
 * 学生订购课程对象 course_info_child
 * 
 * @author xufei
 * @date 2025-05-03
 */
@Data
public class CourseInfoChild extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Long id;

    /** 课程id */
    @Excel(name = "课程名称")
    private String infoName;
    @Excel(name = "课程编码")
    private String infoCode;
    @Excel(name = "教师名称")
    private String teacherName;
    private Long infoId;
    @Excel(name = "课程分类")
    private String infoType;
    private Long typeId;

    /** 学生id */
    @Excel(name = "学生名称")
    private String childName;
    @Excel(name = "家长名称")
    private String parentName;
    private Long childId;
    private Long parentId;


    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;



    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("infoId", getInfoId())
            .append("childId", getChildId())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
